package com.ft.oa.service.project;

import com.ft.oa.domain.check.ExecProjectExamine;
import com.ft.oa.domain.check.ExecProjectProblem;
import com.ft.oa.domain.dto.ApiResult;
import com.ft.oa.domain.project.*;

/**
 * 项目立项
 * @author liyansheng
 * @ClassName ProjectWarrantyService
 * @date 2022-1-14 10:01:46
 */
public interface ProjectWarrantyService {

    /**
     * 项目质保分页查询
     * @param projectWarrantyPage
     * @return
     */
    ApiResult page(ProjectWarrantyPage projectWarrantyPage);

    /**
     * 新增质保项目
     * @param execProjectExamine
     * @return
     */
    ApiResult add(ExecProjectExamine execProjectExamine);

    /**
     * 新增回款记录
     * @param warrantyReturnedMoney
     * @return
     */
    ApiResult addMoney(WarrantyReturnedMoney warrantyReturnedMoney);

    /**
     * 新增质保记录
     * @param warrantyReturnedRecord
     * @return
     */
    ApiResult addRecord(WarrantyReturnedRecord warrantyReturnedRecord);

    /**
     * 编辑质保项目
     * @param projectWarranty
     * @return
     */
    ApiResult edit(ProjectWarranty projectWarranty);

    /**
     * 详情
     * @param id
     * @return
     */
    ApiResult detail(Long id);

    ApiResult execproblem(ProjectWarrantyPage projectWarrantyPage);

    ApiResult addmaintenance(ExecProjectProblem execProjectProblem);

}
